import request from '../utils/request';

// 获取客户列表
export function getCustomerList(params) {
  return request({
    url: '/customer/list',
    method: 'get',
    params
  });
}

export function getMenuList(data) {
  return request({
    url: '/menu/list',
    method: 'post',
    data:data
  });
}

export function getLinkList(data) {
  return request({
    url: '/custom/linksList',
    method: 'post',
    data:data
  });
}

export function getNoticeList(data) {
  return request({
    url: '/custom/noticeList',
    method: 'post',
    data:data
  });
}

export function getCustomerData(data) {
  return request({
    url: '/custom/list',
    method: 'post',
    data:data
  });
}